import re
def prividge(account):
    pattern=re.compile(r'ta')
    result=re.match(pattern,account)
    if(result):
        return "teacher"
    else:
        return "student"